./* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    background-color: #f5f7fa;
    line-height: 1.6;
}

/* 标题样式 */
 h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #202124;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

/* 容器样式 */
.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* 卡片组件样式 */
.card {
    background-color: white;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.5rem;
    margin: -1.5rem -1.5rem 1rem;
}

.card-title {
    margin-bottom: 0;
    font-size: 1.25rem;
}

/* 按钮样式增强 */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: #1a73e8;
    border-color: #1a73e8;
}

.btn-primary:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

.btn-secondary {
    background-color: #f1f3f4;
    border-color: #dadce0;
    color: #202124;
}

.btn-secondary:hover {
    background-color: #e8eaed;
    border-color: #d0d3d7;
}

/* 表格样式 */
.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table th,
.table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-top: 1px solid #eaeaea;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: left;
}

.table tr:hover {
    background-color: #f5f7fa;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #dadce0;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    outline: none;
}

/* 导航栏样式补充 */
.navbar-nav .dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    border: none;
}

.navbar-nav .dropdown-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: #f5f7fa;
    color: #1a73e8;
}

/* 徽章样式 */
.badge {
    border-radius: 16px;
    padding: 0.25rem 0.5rem;
    font-weight: 500;
    font-size: 0.75rem;
}

/* 标签样式 */
.label {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

/* 自定义工具类 */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.text-center { text-align: center; }
.text-right { text-align: right; }

.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); }

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}